package com.ylsk.check.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ylsk.common.core.domain.MybatisPlusBaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ylsk.common.annotation.Excel;
import com.ylsk.common.core.domain.BaseEntity;

/**
 * 变动上报对象 ins_change_report
 *
 * @author yangsy
 * @date 2024-01-08
 */
@TableName("ins_change_report")
public class ChangeReport extends MybatisPlusBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 变动上报id */
    @TableId
    private Long changeReportId;

    /** 项目报备id */
    private Long reportInfoId;

    /** 进场时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date entryTime;

    /** 变动时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date changeTime;

    /** 变动照片和视频 */
    private Long changeFileId;

    /** 施工许可文件 */
    private Long licenseFileId;

    /** 变动情况说明 */
    private String changeRemark;

    /** 经度 */
    @TableField(fill = FieldFill.INSERT)
    private BigDecimal longitude;

    /** 纬度 */
    @TableField(fill = FieldFill.INSERT)
    private BigDecimal latitude;

    /** 道路名称 */
    @TableField(fill = FieldFill.INSERT)
    private String roadName;

    /** 方向 */
    @TableField(fill = FieldFill.INSERT)
    private String direction;

    /** 所属大队 */
    private Long deptId;

    /** 审核人 */
    private Long reviewedBy;

    public void setChangeReportId(Long changeReportId)
    {
        this.changeReportId = changeReportId;
    }

    public Long getChangeReportId()
    {
        return changeReportId;
    }
    public void setReportInfoId(Long reportInfoId)
    {
        this.reportInfoId = reportInfoId;
    }

    public Long getReportInfoId()
    {
        return reportInfoId;
    }
    public void setEntryTime(Date entryTime)
    {
        this.entryTime = entryTime;
    }

    public Date getEntryTime()
    {
        return entryTime;
    }
    public void setChangeTime(Date changeTime)
    {
        this.changeTime = changeTime;
    }

    public Date getChangeTime()
    {
        return changeTime;
    }
    public void setChangeFileId(Long changeFileId)
    {
        this.changeFileId = changeFileId;
    }

    public Long getChangeFileId()
    {
        return changeFileId;
    }
    public void setLicenseFileId(Long licenseFileId)
    {
        this.licenseFileId = licenseFileId;
    }

    public Long getLicenseFileId()
    {
        return licenseFileId;
    }
    public void setChangeRemark(String changeRemark)
    {
        this.changeRemark = changeRemark;
    }

    public String getChangeRemark()
    {
        return changeRemark;
    }
    public void setLongitude(BigDecimal longitude)
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude()
    {
        return longitude;
    }
    public void setLatitude(BigDecimal latitude)
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude()
    {
        return latitude;
    }
    public void setRoadName(String roadName)
    {
        this.roadName = roadName;
    }

    public String getRoadName()
    {
        return roadName;
    }
    public void setDirection(String direction)
    {
        this.direction = direction;
    }

    public String getDirection()
    {
        return direction;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setReviewedBy(Long reviewedBy)
    {
        this.reviewedBy = reviewedBy;
    }

    public Long getReviewedBy()
    {
        return reviewedBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("changeReportId", getChangeReportId())
            .append("reportInfoId", getReportInfoId())
            .append("entryTime", getEntryTime())
            .append("changeTime", getChangeTime())
            .append("changeFileId", getChangeFileId())
            .append("licenseFileId", getLicenseFileId())
            .append("changeRemark", getChangeRemark())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("roadName", getRoadName())
            .append("direction", getDirection())
            .append("deptId", getDeptId())
            .append("reviewedBy", getReviewedBy())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
